import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
type int = number;
//class SLogGroupBuy
    
    export  class SLogGroupBuy
    {
       

        public __write(arg1: SerializeStream): void
        {
            arg1.writeInt(this.day);
            arg1.writeInt(this.proxyId);
            arg1.writeInt(this.serverId);
            arg1.writeInt(this.playerId);
            arg1.writeInt(this.itemCode);
            arg1.writeInt(this.grouperNum);
            arg1.writeInt(this.costMoney);
            arg1.writeInt(this.unit);
            arg1.writeInt(this.returnMoney);
            arg1.writeInt(this.groupResult);
            arg1.writeInt(this.rewardResult);
            return;
        }

        public __read(arg1: SerializeStream): void
        {
            this.day = arg1.readInt();
            this.proxyId = arg1.readInt();
            this.serverId = arg1.readInt();
            this.playerId = arg1.readInt();
            this.itemCode = arg1.readInt();
            this.grouperNum = arg1.readInt();
            this.costMoney = arg1.readInt();
            this.unit = arg1.readInt();
            this.returnMoney = arg1.readInt();
            this.groupResult = arg1.readInt();
            this.rewardResult = arg1.readInt();
            return;
        }

        public /* var */day: int;

        public /* var */proxyId: int;

        public /* var */serverId: int;

        public /* var */playerId: int;

        public /* var */itemCode: int;

        public /* var */grouperNum: int;

        public /* var */costMoney: int;

        public /* var */unit: int;

        public /* var */returnMoney: int;

        public /* var */groupResult: int;

        public /* var */rewardResult: int;
    }
